package com.collect.cameroon.zhiScene.zhiRemind.zhiWhatsappService;

import android.content.Context;

import com.collect.cameroon.zhiBase.BaseContract;
import com.collect.cameroon.zhiBean.zhiReceive.ZHIRCustomerWhatsAppAccountFollow;
import com.collect.cameroon.zhiBean.zhiSend.ZHISCustomerWhatsAppAccountFollow;
import com.collect.cameroon.zhiBean.zhiSend.ZHISSendSmsEntity;

import java.util.ArrayList;

public class CTWhatsappServiceContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();

        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onCustomerWhatsAppAccountList(ArrayList<ZHIRCustomerWhatsAppAccountFollow> zhirCustomerWhatsAppAccountFollow);

        /**
         * 客服-添加标记返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onCustomerWhatsAppAccountFollow();
    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void customerWhatsAppAccountList(Context context, ZHISSendSmsEntity zhisSendSmsEntity, boolean showLoading);

        /**
         * 客服-添加标记
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void customerWhatsAppAccountFollow(Context context, ZHISCustomerWhatsAppAccountFollow zhiSCustomerWhatsAppAccountFollow, boolean showLoading);
    }
}
